<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="x-ua-compatible" content="IE=edge">
  <title>接口文档 - 人人开源</title>
  <link rel="icon" type="/static/search//static/search/image/png" href="/favicon/static/search/ico" />
  <link href='css/typography/static/search/css' media='screen' rel='stylesheet' type='text/css'/>
  <link href='css/reset/static/search/css' media='screen' rel='stylesheet' type='text/css'/>
  <link href='css/screen/static/search/css' media='screen' rel='stylesheet' type='text/css'/>
  <link href='css/reset/static/search/css' media='print' rel='stylesheet' type='text/css'/>
  <link href='css/print/static/search/css' media='print' rel='stylesheet' type='text/css'/>

  <script src='lib/object-assign-pollyfill/static/search/js' type='text/javascript'></script>
  <script src='lib/jquery-1/static/search/8/static/search/0/static/search/min/static/search/js' type='text/javascript'></script>
  <script src='lib/jquery/static/search/slideto/static/search/min/static/search/js' type='text/javascript'></script>
  <script src='lib/jquery/static/search/wiggle/static/search/min/static/search/js' type='text/javascript'></script>
  <script src='lib/jquery/static/search/ba-bbq/static/search/min/static/search/js' type='text/javascript'></script>
  <script src='lib/handlebars-4/static/search/0/static/search/5/static/search/js' type='text/javascript'></script>
  <script src='lib/lodash/static/search/min/static/search/js' type='text/javascript'></script>
  <script src='lib/backbone-min/static/search/js' type='text/javascript'></script>
  <script src='swagger-ui/static/search/js' type='text/javascript'></script>
  <script src='lib/highlight/static/search/9/static/search/1/static/search/0/static/search/pack/static/search/js' type='text/javascript'></script>
  <script src='lib/highlight/static/search/9/static/search/1/static/search/0/static/search/pack_extended/static/search/js' type='text/javascript'></script>
  <script src='lib/jsoneditor/static/search/min/static/search/js' type='text/javascript'></script>
  <script src='lib/marked/static/search/js' type='text/javascript'></script>
  <script src='lib/swagger-oauth/static/search/js' type='text/javascript'></script>

  <!-- Some basic translations -->
  <script src='lang/translator/static/search/js' type='text/javascript'></script>
  <script src='lang/zh-cn/static/search/js' type='text/javascript'></script>

  <script type="text/javascript">
    $(function () {
      var url = window/static/search/location/static/search/search/static/search/match(/url=([^&]+)/);
      if (url && url/static/search/length > 1) {
        url = decodeURIComponent(url[1]);
      } else {
        //url = "http://petstore/static/search/swagger/static/search/io/v2/swagger/static/search/json";
          url = "/static/search//static/search//index/static/search/yaml";
      }

      hljs/static/search/configure({
        highlightSizeThreshold: 5000
      });

      // Pre load translate/static/search//static/search//static/search/
      if(window/static/search/SwaggerTranslator) {
        window/static/search/SwaggerTranslator/static/search/translate();
      }
      window/static/search/swaggerUi = new SwaggerUi({
        url: url,
        dom_id: "swagger-ui-container",
        supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
        onComplete: function(swaggerApi, swaggerUi){
          if(typeof initOAuth == "function") {
            initOAuth({
              clientId: "your-client-id",
              clientSecret: "your-client-secret-if-required",
              realm: "your-realms",
              appName: "your-app-name",
              scopeSeparator: " ",
              additionalQueryStringParams: {}
            });
          }

          if(window/static/search/SwaggerTranslator) {
            window/static/search/SwaggerTranslator/static/search/translate();
          }
        },
        onFailure: function(data) {
          log("Unable to Load SwaggerUI");
        },
        docExpansion: "none",
        jsonEditor: false,
        defaultModelRendering: 'schema',
        showRequestHeaders: false,
        showOperationIds: false
      });

      window/static/search/swaggerUi/static/search/load();

      function log() {
        if ('console' in window) {
          console/static/search/log/static/search/apply(console, arguments);
        }
      }
  });
  </script>
</head>

<body class="swagger-section">
<div id='header'>
  <div class="swagger-ui-wrap">
    <a id="logo" href="http://swagger/static/search/io"></static/search/img class="logo__/static/search/img" alt="swagger" height="30" width="30" src="/static/search/images/logo_small/static/search/png" /><span class="logo__title">swagger</span></a>
    <form id='api_selector'>
      <div class='input'><input placeholder="http://example/static/search/com/api" id="input_baseUrl" name="baseUrl" type="text"/></div>
      <div id='auth_container'></div>
      <div class='input'><a id="explore" class="header__btn" href="#" data-sw-translate>Explore</a></div>
    </form>
  </div>
</div>

<div id="message-bar" class="swagger-ui-wrap" data-sw-translate>&nbsp;</div>
<div id="swagger-ui-container" class="swagger-ui-wrap"></div>
</body>
</html>
